<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript" src="[%$ESPCMS_ADMIN_TEMPLATES_URL%]admin/nevigate.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("#espcms_saveInfo").espcms_formvalidation({focusName: "#nevigate_name"});
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.frames['[%$par_iframes_name%]'].refresh('ajax_list');
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
				$('.espcms_dialog_link').espcms_dig();

				$('.select_choice_remove').unbind('click').bind('click', function () {
					var doc_id = $(this).attr('data-id');
					var li_name = '#select_itme_id_' + doc_id;
					$('#nevigate_linkid').val('');
					$('#nevigate_linkid_title').val('');
					$(li_name).remove();
					$('.select_input_itme_title').show();
				});
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<input type="hidden" name="nevigate_id" id="nevigate_id" value="[%$read.nevigate_id%]"/>
							<input type="hidden" name="nevigate_linktype" id="nevigate_linktype" value="[%$read.nevigate_linktype%]"/>
							<input type="hidden" name="savetype" value="edit"/>
							<div class="section-divider mb40"><span>[%pack:nevigate_pack-espcms_nevigate_button_edit%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_modul%]</label>
								<div class="col-sm-9 pt6">
									[%if $read.nevigate_modul=='bbs'%][%pack:nevigate_pack-espcms_nevigate_modul_bbs%][%/if%]
									[%if $read.nevigate_modul=='forms'%][%pack:nevigate_pack-espcms_nevigate_modul_forms%][%/if%]
									[%if $read.nevigate_modul=='article'%][%pack:nevigate_pack-espcms_nevigate_modul_article%][%/if%]
									[%if $read.nevigate_modul=='sub'%][%pack:nevigate_pack-espcms_nevigate_modul_sub%][%/if%]
									[%if $read.nevigate_modul=='type'%][%pack:nevigate_pack-espcms_nevigate_modul_type%][%/if%]
									[%if $read.nevigate_modul=='member'%][%pack:nevigate_pack-espcms_nevigate_modul_member%][%/if%]
									[%if $read.nevigate_modul=='order'%][%pack:nevigate_pack-espcms_nevigate_modul_order%][%/if%]
									[%if $read.nevigate_modul=='enquiry'%][%pack:nevigate_pack-espcms_nevigate_modul_inquiry%][%/if%]
									[%if $read.nevigate_modul=='link'%][%pack:nevigate_pack-espcms_nevigate_modul_link%][%/if%]
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_name%]</label>
								<div class="col-sm-9">
									<input type="text" name="nevigate_name" class="form-control" id="nevigate_name" value="[%$read.nevigate_name%]" maxlength="100" data-validation-minlength="2" data-validation-maxlength="100" placeholder="[%pack:nevigate_pack-espcms_nevigate_name_title%]" title="[%pack:nevigate_pack-espcms_nevigate_name_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_name_validation_msg%]"/>
								</div>
							</div>
							[%if $read.nevigate_linktype==2%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_url%]</label>
								<div class="col-sm-9">
									<input type="text" name="nevigate_url" class="form-control" id="nevigate_url" value="[%$read.nevigate_url%]" link-validation="nevigate_linktype" link-gettype="radio" link-getvalue="2" data-validation="^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+$" placeholder="[%pack:nevigate_pack-espcms_nevigate_url_title%]" title="[%pack:nevigate_pack-espcms_nevigate_url_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_url_validation_msg%]"/>
								</div>
							</div>

							[%else%]
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_modul%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="nevigate_modul" class="tab_click" open_list=".nevigate_linktype_div1" close_list=".nevigate_linktype_div2,.nevigate_linktype_div3,.nevigate_linktype_div4,.nevigate_linktype_div5" value="type"[%if $read.nevigate_modul=='type'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_type%]</span>
									<input type="radio" name="nevigate_modul" class="tab_click" open_list=".nevigate_linktype_div2" close_list=".nevigate_linktype_div1,.nevigate_linktype_div3,.nevigate_linktype_div4,.nevigate_linktype_div5" value="sub"[%if $read.nevigate_modul=='sub'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_sub%]</span>
									<input type="radio" name="nevigate_modul" class="tab_click" open_list=".nevigate_linktype_div3" close_list=".nevigate_linktype_div1,.nevigate_linktype_div2,.nevigate_linktype_div4,.nevigate_linktype_div5" value="article"[%if $read.nevigate_modul=='article'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_article%]</span>
									[%if $forms_app.isetup==1%]
									<input type="radio" name="nevigate_modul" class="tab_click" open_list=".nevigate_linktype_div4" close_list=".nevigate_linktype_div1,.nevigate_linktype_div2,.nevigate_linktype_div3,.nevigate_linktype_div5" value="forms"[%if $read.nevigate_modul=='forms'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_forms%]</span>
									[%/if%]
									[%if $bbs_app.isetup==1%]
									<input type="radio" name="nevigate_modul" class="tab_click" open_list=".nevigate_linktype_div5" close_list=".nevigate_linktype_div1,.nevigate_linktype_div2,.nevigate_linktype_div3,.nevigate_linktype_div4" value="bbs"[%if $read.nevigate_modul=='bbs'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_bbs%]</span>
									[%/if%]
									[%if $member_app.isetup==1%]
									<input type="radio" name="nevigate_modul" class="tab_click" close_list=".nevigate_linktype_div1,.nevigate_linktype_div2,.nevigate_linktype_div3,.nevigate_linktype_div4,.nevigate_linktype_div5" value="member"[%if $read.nevigate_modul=='member'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_member%]</span>
									[%/if%]
									[%if $order_app.isetup==1%]
									<input type="radio" name="nevigate_modul" class="tab_click" close_list=".nevigate_linktype_div1,.nevigate_linktype_div2,.nevigate_linktype_div3,.nevigate_linktype_div4,.nevigate_linktype_div5" value="order"[%if $read.nevigate_modul=='order'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_order%]</span>
									[%/if%]
									[%if $enquiry_app.isetup==1%]
									<input type="radio" name="nevigate_modul" class="tab_click" close_list=".nevigate_linktype_div1,.nevigate_linktype_div2,.nevigate_linktype_div3,.nevigate_linktype_div4,.nevigate_linktype_div5" value="enquiry"[%if $read.nevigate_modul=='enquiry'%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_modul_inquiry%]</span>
									[%/if%]
								</div>
							</div>
							<div class="form-group nevigate_linktype_div1 [%if $read.nevigate_modul!='type'%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_linkid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="tid" id="tid" data-size="8" link-validation="nevigate_modul" link-gettype="radio" link-getvalue="type" data-validation="^[1-9]{1}[0-9]*$" title="[%pack:nevigate_pack-espcms_nevigate_linkid_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_linkid_validation_msg%]">
										[%forlist from=$article_type_array key=i%]
										<option value="[%$article_type_array[i].tid%]"[%if $article_type_array[i].selected=='selected'%] selected="selected"[%/if%] class="[%$article_type_array[i].classname%]" data-icon="[%$article_type_array[i].icon%]">[%$article_type_array[i].typename%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group nevigate_linktype_div2 [%if $read.nevigate_modul!='sub'%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_linkid_sub%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="sid" id="sid" data-size="8" link-validation="nevigate_modul" link-gettype="radio" link-getvalue="sub" data-validation="^[1-9]{1}[0-9]*$" title="[%pack:nevigate_pack-espcms_nevigate_linkid_sub_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_linkid_sub_validation_msg%]">
										[%forlist from=$article_subjectlist_array key=i%]
										<option value="[%$article_subjectlist_array[i].sid%]" [%$article_subjectlist_array[i].selected%]>[%$article_subjectlist_array[i].subjectname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group nevigate_linktype_div3 [%if $read.nevigate_modul!='article'%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_linkid_article%]</label>
								<div class="col-sm-9">
									<input type="hidden" name="nevigate_linkid" id="nevigate_linkid" value="[%$read.nevigate_linkid%]" validation="true" data-validation-botton="nevigate_linkid_botton" link-validation="nevigate_modul" link-gettype="radio" link-getvalue="article" data-validation="^[1-9]{1}[0-9]*$" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_linkid_article_validation_msg%]"/>
									<input type="hidden" name="nevigate_linkid_title" id="nevigate_linkid_title" value="[%$title_list%]"/>
									<div class="select_input_itme_group" id="nevigate_linkid_botton">
										<div class="select_input_itme_list">
											<span class="select_input_itme_title displaynone">[%pack:nevigate_pack-espcms_nevigate_linkid_article_title%]</span>
											<ul class="select_input_itme_list_ul">
												[%if $read.nevigate_linkid!='' && $title_list!=''%]
												<li class="select_itme_id" id="select_itme_id_[%$read.nevigate_linkid%]" data-id="[%$read.nevigate_linkid%]" title="[%$title_list%]"><span class="select_choice_remove" role="presentation" data-id="[%$read.nevigate_linkid%]" title="[%$title_list%]">×</span><span><i class="espcms_icon_fa espcms_icon_fa-angle-right" aria-hidden="true"></i>[%$title_list%]</span></li>
												[%/if%]
											</ul>
										</div>
										<div class="select_input_itme_botton"><a title="[%pack:nevigate_pack-espcms_nevigate_linkid_article_title%]" class="icon_botton espcms_dialog_link" data-w="800px" data-h="520px" data-url="[%$article_select_link%]&inputname=nevigate_linkid&inputname2=nevigate_linkid_title&iframeName=[%$iframes_name%]&select_num=1" data-title="[%pack:nevigate_pack-espcms_nevigate_linkid_article_title%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i></a></div>
									</div>

								</div>
							</div>
							[%if $forms_app.isetup==1%]
							<div class="form-group nevigate_linktype_div4 [%if $read.nevigate_modul!='forms'%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:article_pack-espcms_article_main_fgid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="fgid" id="fgid" data-size="8" link-validation="nevigate_modul" link-gettype="radio" link-getvalue="forms" data-validation="^[1-9]{1}[0-9]*$" title="[%pack:nevigate_pack-espcms_nevigate_fgid_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_fgid_validation_msg%]">
										[%forlist from=$form_group_array key=i%]
										<option value="[%$form_group_array[i].fgid%]" [%$form_group_array[i].selected%]>[%$form_group_array[i].formgroupname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]
							[%if $bbs_app.isetup==1%]
							<div class="form-group nevigate_linktype_div5 [%if $read.nevigate_modul!='bbs'%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_btid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="btid" id="btid" data-size="8" link-validation="nevigate_modul" link-gettype="radio" link-getvalue="bbs" data-validation="^[1-9]{1}[0-9]*$" title="[%pack:nevigate_pack-espcms_nevigate_btid_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_btid_validation_msg%]">
										[%forlist from=$bbs_type_array key=i%]
										<option value="[%$bbs_type_array[i].btid%]" [%$bbs_type_array[i].selected%]>[%$bbs_type_array[i].typename%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							[%/if%]

							[%/if%]

							<div class="section-divider mb40"><span>[%pack:nevigate_pack-espcms_nevigate_button_str2%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_target%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="nevigate_target" value="0"[%if $read.nevigate_target==0%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_target_0%]</span>
									<input type="radio" name="nevigate_target" value="1"[%if $read.nevigate_target==1%] checked[%/if%]/><span class="pr10">[%pack:nevigate_pack-espcms_nevigate_target_1%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_ismenu%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="nevigate_ismenu" value="1"[%if $read.nevigate_ismenu==1%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="nevigate_ismenu" value="0"[%if $read.nevigate_ismenu==0%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_iswap%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="nevigate_iswap" value="1"[%if $read.nevigate_iswap==1%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="nevigate_iswap" value="0"[%if $read.nevigate_iswap==0%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_isaccessory%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="nevigate_isaccessory" value="1"[%if $read.nevigate_isaccessory==1%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_open_1%]</span>
									<input type="radio" name="nevigate_isaccessory" value="0"[%if $read.nevigate_isaccessory==0%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_close%]</span>
								</div>
							</div>

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_save_ok%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_save_cancel%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
